export type QuestionTitlePropsType = { // ？ 就是可传可不传
    text?: string
    level?: 1| 2 | 3 | 4 | 5
    isCenter?: boolean

    onChange?: (newProps: QuestionTitlePropsType) => void
    disabled?: boolean
}

export const QuestionTitleDefaultProps: QuestionTitlePropsType = {
    text: '一行标题',
    level: 1,
    isCenter: false
}